//  彭荣

import request from '@/utils/request'

// 查询财物信息列表
export function listInfo(query) {
  return request({
    url: '/financial/info/listAll',
    method: 'get',
    params: query
  })
}

//添加处置信息
export function addlist(data) {
  return request({
    url: '/system/treatment',
    method: 'post',
    data: data
  })
}

//批量修改财物处置状态
export function updateInfo(pId, data) {
  return request({
    url: '/financial/info/tre/' + pId.join(',') + '?' + 'status' + '=' + data,
    method: 'get'
  })
}

//批量修改财物处登记状态
export function financialInfo(pId, data) {
  return request({
    url: '/financial/info/reg/' + pId.join(',') + '?' + 'status' + '=' + data,
    method: 'get'
  })
}
